const TangSeng = {
    name: "tangseng",
    age: 18
}

type key = keyof typeof TangSeng

function fn(param:key){
    return TangSeng[param]
}